home *** CD-ROM | disk | FTP | other *** search
- Path: nntp-hub.barrnet.net!biosys!paralysys
- From: nasser@paralysys (Nasser Abbasi)
- Newsgroups: comp.lang.c++
- Subject: how to reposition cursor to start of line using cout?
- Message-ID: <nh68bie2ac.fsf@paralysys>
- Date: 2 Apr 96 21:36:43 GMT
- Sender: news@biosys.apldbio.COM
- Organization: Applied BioSystems
- X-Newsreader: Gnus v5.1
-
-
- hi,
-
- looking at the io stream classes I can't seem to find a way
- to move the cursor backward.
-
- What I want to do is say display a counter (using cout), and as
- the program runs, the counter increaes in value, and I want to
- print the new value,
-
- But I do not want to do this next print on a new line, I want to
- overwrite the old one, this means I need to move the cursor to
- start of line to be able to do this.
-
- any one knows a way to do?
-
- thanks!
- Nasser
-